package com.design.android.personnel.ui.dashboard;

import androidx.lifecycle.MutableLiveData;
import androidx.lifecycle.ViewModel;
import com.design.android.personnel.bean.PersonnelInfo;

import java.util.ArrayList;
import java.util.List;

public class DashboardViewModel extends ViewModel {

    private MutableLiveData<List<PersonnelInfo>> personnelInfoList;

    public DashboardViewModel() {
        personnelInfoList = new MutableLiveData<>();
        personnelInfoList.setValue(new ArrayList<PersonnelInfo>(0));
    }

    public MutableLiveData<List<PersonnelInfo>> getPersonnelInfoList() {
        return personnelInfoList;
    }
}
